<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.sql.*,java.util.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="public.css" rel="stylesheet" type="text/css" />

<link href="dropdown.css" rel="stylesheet" type="text/css" />

<link href="override.css" rel="stylesheet" type="text/css" /> 
        <link rel="stylesheet" type="text/css" href="shp.css">
        <title>Search Results</title>
    </head>
   
       <body>
    <div id="main">
        <div id="header">
            <div id="utilityRow">
   		<div id="utilityLinks">

                    <p><a href="http://www.sematech.org">SEMATECH</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                        <a href="https://www.sematech.org">Login to Member Site</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                        <a href="http://ismi.sematech.org/corporate/contact.htm">Contact Us</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                        <a href="/sitemap.htm">Site Map</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                        <a href="PerInfo.jsp"> My Account</a>&nbsp;&nbsp;|&nbsp;&nbsp;
                    <% if(session.getAttribute("username")== null){
                        response.sendRedirect("Home.html");
                    }
                    else
                    out.println("<font color='red'>" + "Welcome " +session.getAttribute("username")+"! </font>");%>
                    <a href="LogOut.jsp"> Log Out</a></p>
                </div>	
            </div>
            <table>
                <tr>
                    <td id="logoHome"><img src="ISMI.jpg" alt="ISMI Logo" width="275" height="150" border="0" /></td>
                    <td id="feature"><img src="ismi_design_cube.jpg"  width="703" height="150" border="0"/> </td>
   	
                </tr>
            </table>
                    <div style="margin-left: 250px">
                        
             <form name="search" action="Search" method="post">
       <input name="query" type="text" align="left"  size="50"/>
        <input type="submit"  name="Go" value="Search"</input>
             </form>
                    </div>
        </div>
<div id="indexLeftColumn">
            <table class="pretty-table">
                <tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr>
                <tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=480">Phase Detectors</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr><tr>
                    <td><a href="http://www.onsemi.com/PowerSolutions/parametrics.do?id=2146">Crystal Oscillators</a></td>
                </tr>
            </table>
        </div>
         
        <div id="indexRightColumn">
            <c:if test="${empty products}"> <h2 align="center">No results found</h2></c:if>
  <c:forEach var="product" items="${products}">
      <table align="left" class="li rslp-0"><tr><td class="rslp-p lt"><div class="rslp-p rslp-lp"><div style="height:145px"><a href="<c:url value="Product?Id=${product.id}"/>" ><img HEIGHT="100" WIDTH="100" src="<c:out value="${product.pic}" />"/><span class="cio"></span></a></div><i></i></div></td><td class="rslp-cd"><div class="rslp-t"><a><c:out value="${product.product_name}"/></a></div><div class="pd1 pd"><a>Price: </a> <span class="pdbg"><c:out value="${product.price}" /></span></div><div class="pd1 pd"><a>Part Number: </a> <span class="pdbg"><c:out value="${product.partNumber}" /></span></div><div class="pd1 pd"><a>Manufacturer: </a> <span class="pdbg"><c:out value="${product.manufacturer}" /></span></div><div class="pd"><a><c:out value="${product.product_description}" /></a></div><div class="pd"><a>Seller: </a><b><c:out value="${product.user_name}" /></b></div><div class="pd1 pd"><a>Number of Items Available: </a> <span class="pdbg"><c:out value="${product.amount}" /></span></div><div class="rbr"><span class="label"></span></div></td></tr></table> 
  </c:forEach>
        </div>
                    
         <div id="indexEndColumn">
            <center>
                <p style="font-family:Arial, Helvetica, sans-serif; font-size:11px; font-weight:bold; margin: 10px 0px 10px 0px; color:#999;"> ISMI News Network 
                  on&nbsp;&nbsp;
                </p>
                <a href="http://www.linkedin.com/groups?gid=3896787" title="ISMI News Network on LinkedIn" target="_blank"><img src="linkedin.jpg" alt="Follow ISMI News Network on LinkedIn" width="104" height="30" border="0" />
                </a>

            </center>
            &nbsp;<br />
            &nbsp;<br />
            
            <center>
                &nbsp;
                <p><br />
                    <a class="SKSFlash" href="http://ismi.sematech.org/meetings/sks.htm?utm_source=LG&utm_medium=PW&utm_content=Flash&utm_campaign=SKS"><IMG src="knowlseries.jpg" width="150" height="120" border="0"></a>
                </p>
            </center>

        </div>


    

        <div id="footer">
            footer
        </div>
    </div>
    </body>
    </html>